import { request } from '../request';

export function getPerson() {
	return request({
		url: '/admin/base/comm/person'
	});
}

export function getPermmenu() {
	return request({
		url: '/admin/base/comm/permmenu'
	});
}

export function getUploadMode() {
	return request({
		url: '/admin/base/comm/uploadMode'
	});
}

export function uploadRequest(data: any) {
	return request({
		url: '/admin/base/comm/upload',
		method: 'POST',
		data
	});
}

export function logout() {
	return request({
		url: '/admin/base/comm/logout',
		method: 'POST'
	});
}
